<script setup lang='ts'>
import Confirm from '@/components/confirm/index';

const show=()=>{
     Confirm({title:'demo提示',text:'确定demo'}).then(()=>{
      console.log('点击了确定');
      
     }).catch(()=>{
      console.log('点击了取消');

     })
}

</script>

<template>
 <button @click="show">显示</button>


</template>

<style scoped>
</style>
